#!/usr/bin/env bash

javac UseJConsole.java

java -verbose:gc -Xms100M -Xmx100M -XX:+HeapDumpOnOutOfMemoryError \
-XX:+UseSerialGC \
UseJConsole